import request from '@/utils/request'


// 获取进站车辆数量
export function getIncomingVehicles(data) {
  return request({
    url: '/machine/carApi/getIncomingVehicles',
    method: 'get',
    data: data
  })
}

// 近15天或7天车辆统计，视传参不同查询不同
export function getRecentVehicle(data) {
  return request({
    url: '/machine/carApi/getRecentVehicle',
    method: 'get',
    params: data
  })
}

// 查询进站车辆列表
export function findPageList(query) {
  return request({
    url: '/machine/carApi/findPageList',
    method: 'get',
    params: query
  })
}
